package com.wanmait.zaisousuo.exception;

public class QuestionNotFoundException extends RuntimeException{

    private Integer id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public QuestionNotFoundException(Integer id){
        super("这个问答找不到了");
        this.id = id;
    }

    public QuestionNotFoundException(String message,Integer id){
        super(message);
        this.id = id;
    }






}
